<!--
 * @Description: 
 * @Author: shizhe
 * @Date: 2022-03-30 13:45:23
 * @LastEditTime: 2022-06-30 14:54:14
 * @LastEditors: shizhe
 * @Reference: 
-->
<template>
  <div id="com_square">
    <h1>企业荣誉</h1>
    <div class="nocontent_bg" v-show="!value">
      <el-image :src="require('@/assets/role_bg2.png')"></el-image>
      <p style="color: #999999">暂无企业荣誉</p>
    </div>
    <div v-html="value" class="render"></div>
  </div>
</template>

<script>
export default {
  props: {
    value: {
      required: true
    }
  },
  data() {
    return {}
  },
  mounted() {
    console.log(this.value)
  },
  methods: {}
}
</script>
<style lang="less" scoped>
#com_square {
  padding: 20px;
  border: 1px solid #d6d6d6;
  border-top: none;
  // height: 823px;
  // overflow-y: auto;
  h1 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    padding-left: 10px;
    border-left: 4px solid #fa7355;
    span {
      font-weight: normal;
      color: #999;
    }
  }
  .render {
    margin-top: 20px;
    /deep/ img {
      max-height: 330px;
      box-sizing: border-box;
      max-width: 100%;
      // margin-right: calc(100%);
    }
  }
  .nocontent_bg {
    height: 228px;
  }
}
</style>
